package com.xforceplus.bsstool.compare;

import com.alibaba.fastjson.JSON;
import com.xforceplus.bsstool.db.OldUcenterDB;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class TestCompare {

  public static void main(String[] args)  throws Exception {
    Map<String,Object> eqMap = new HashMap<>();
    eqMap.put("role_id",1L);
    Map<String,Object> nqMap = new HashMap<>();
    nqMap.put("id",10L);
    List<Map> dataList = OldUcenterDB.getSqlResultByCache("sys_role_resourceset_rel",eqMap,nqMap);

    System.out.println(JSON.toJSON(dataList));


  }
}
